package com.css.dzj.dzjfxyj.common.util.Restful;
import org.springframework.web.client.RestTemplate;

public class StaticAPI {
    private static RestTemplate restTemplate;

    static {
        if (restTemplate == null) {
            restTemplate = PlatformSpringUtils.getBean(RestTemplate.class);
        }
    }

    public static RestTemplate getRestTemplate() {
        return restTemplate;
    }
}
